import {NZ_ICONS} from 'ng-zorro-antd/icon';
import {en_US, NZ_I18N} from 'ng-zorro-antd/i18n';
import {IconDefinition} from '@ant-design/icons-angular';
import * as AllIcons from '@ant-design/icons-angular/icons';
import {Component} from '@angular/core';
import {SunshineNgZorroAntdModule} from '../ng-zorro-module';


const antDesignIcons = AllIcons as {
  [key: string]: IconDefinition;
};
const icons: IconDefinition[] = Object.keys(antDesignIcons).map(key => antDesignIcons[key])
@Component({
  selector: 'app-sunshine-index',
  standalone: true,
  imports: [SunshineNgZorroAntdModule
  ],
  templateUrl: './index.component.html',
  styleUrl: './index.component.css',
  providers: [{ provide: NZ_I18N, useValue: en_US }, { provide: NZ_ICONS, useValue: icons }]
})
export class IndexComponent {

}
